import 'package:flutter/material.dart';
import './bloc_base.dart';
import './role_bloc.dart';
import '../model/main_role.dart';
class MainRoleBloc extends RoleBloc<MainRole> implements BlocBase {
  MainRoleBloc({@required MainRole roleData}):super(roleData: roleData);
  Map get statusData => {'status': roleData.status, 'countDown': roleData.countDown, 'lastCards': roleData.lastCards, 'otherRoleLastCards': roleData.otherRoleLastCards};

  void setOtherRoleLastCards(List<String> otherRoleLastCards) {
    this.roleData.setOtherRoleLastCards(otherRoleLastCards);
  }
}